import http from '@http/http'
export const _getUserInfo = (errMsg) => http.GET('/api/auth/userInfo', {}, errMsg)
// 登录接口  user = {sn: xxx,name: xx}
export const userLogin = (user) => http.POST('/api/user/login', user)
// 游客登录
export const noLogin = () => http.GET('/api/user/login')
// 登出
export const userLogout = () => http.GET('/api/user/logout')
